package byron.server;

import java.io.FileNotFoundException;
import java.util.List;

import byron.client.CellData;

public interface DataSource {
	void load(String fileName) throws FileNotFoundException;
	List<String> getAttributes();
	List<CellData> getColumn(String attributeName, String key);
	List<List<CellData>> getRows(String key);
	void setPrimaryKey(String k);
	String getPrimaryKey();
}
